CalcVis
CalcVis Calculate the visible region of a window
#include <Windows.h> Window Manager
void CalcVis(theWindow );
WindowPeek theWindow ; window of interest
This low-level function is used by the Window Manager to calculate the
visible region of a window.
theWindow is a WindowPeek (pointer to a WindowRecord) of the window to
calculate. The visRgn field of this structure is modified by this
function.
Returns: none

Notes: CalcVis starts with the content region of theWindow and subtracts the
structure regions of all windows in front of it. It stores the result in the
visRgn field of the WindowRecord of theWindow .